package com.jbm.onehome.iface;

import javax.persistence.Transient;
import com.jbm.core.iface.IAcross;

/**
 * Created by lyh on 17-2-13.
 */
public class IStatVillage extends IAcross
{
	public IStatVillage(IAcross ia)
	{
		super(ia);
	}

    private static final long serialVersionUID = -970106145103894867L;

    public IStatVillage()
    {
        super();

        back = false;
        method = "";
        errorinfo = "";

        start = 0;
        count = 0;
    }

    public IStatVillage(boolean back, String errorinfo)
    {
        this();

        this.back = back;
        this.errorinfo = errorinfo;
    }

    public IStatVillage(String method, String startdate, String enddate,int gi_Id,String gi_name)
    {
        this();
        this.method = method;
        this.startDate = startdate;
        this.endDate=     enddate;
        this.gi_id=gi_Id;
        this.gi_name=gi_name;
    }





    public String gi_name;
    public int gi_id;
    public Integer usercounts;
    public int totalopen;
    public int sucess;
    public int failed;
    public String successrate;



    public String startDate;
    public String endDate;
    public IStatVillage[] statVillageList;

    @Transient
    public boolean back;
    @Transient
    public String method;
    @Transient
    public String errorinfo;
    @Transient
    public int count;
    @Transient
    public int start=0;
    @Transient
    public int pagesize=0;
    @Transient
    public Integer tableid;
}
